package com.jenkins.test.stream;

/**
 * @version V1.0.0
 * @ClassName: {@link Throwable}
 * @Description: Throwable
 * @author: Lanzhou
 * @date: 2022/1/21 15:29
 * @Copyright:2020 All rights reserved.
 */
@FunctionalInterface
public interface ThrowEnable {


    /**
     * 不满足就抛出异常 - 定义消费者
     *
     * @param errorMessage 错误信息
     */
    void except(String errorMessage);


}
